package com.chare.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chare.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author shi
 * @since 2022-06-17
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> getAll(Integer parId);

    void addDep(@Param("dep") Department department);

    void deleteDe(@Param("det") Department department);
}
